package com.cloud.music.controller;

import com.alibaba.fastjson.JSONObject;
import com.cloud.music.annotation.CookieInject;
import com.cloud.music.annotation.OptionLog;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@CookieInject
@OptionLog
public class TestController {

    @GetMapping("/test")
    public JSONObject test() {
        JSONObject jsonObject = new JSONObject();
        jsonObject.put("test", "test");
        return jsonObject;
    }

}
